﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace PcCtrlUI
{
	/// <summary>
	/// Interaction logic for FlowCtrl.xaml
	/// </summary>
	public partial class FlowCtrl : UserControl
	{
		public FlowCtrl()
		{
			this.InitializeComponent();
		}
		
		public void setNames(string name0, string name1)
		{
			this.flow0.setName(name0);
			this.flow1.setName(name1);
		}

        public void setMax(double max0, double max1)
        {
            this.flow0.setMax(max0);
            this.flow1.setMax(max1);
        }

        public void setValue(double value0, double value1)
        {
            this.flow0.setValue(value0);
            this.flow1.setValue(value1);
        }
	}
}